﻿namespace AnyOffice.Model
{
    using System;

    public class BookBorrowData
    {
        protected int _bookId;
        protected int _bookStatus;
        protected object _borrowDate;
        protected int _borrowId = -1;
        protected object _borrowRemark;
        protected string _bUserId = string.Empty;
        protected int _delFlag;
        protected object _realReturnDate;
        protected object _regFlag;
        protected object _returnDate;
        protected object _rUserId;
        protected int _status;
        protected object _whoConfim;

        public int BookId
        {
            get
            {
                return this._bookId;
            }
            set
            {
                this._bookId = value;
            }
        }

        public int BookStatus
        {
            get
            {
                return this._bookStatus;
            }
            set
            {
                this._bookStatus = value;
            }
        }

        public DateTime BorrowDate
        {
            get
            {
                return (DateTime) this._borrowDate;
            }
            set
            {
                this._borrowDate = value;
            }
        }

        public bool BorrowDateIsNull
        {
            get
            {
                return (this._borrowDate == null);
            }
            set
            {
                if (value)
                {
                    this._borrowDate = null;
                }
            }
        }

        public int BorrowId
        {
            get
            {
                return this._borrowId;
            }
            set
            {
                this._borrowId = value;
            }
        }

        public string BorrowRemark
        {
            get
            {
                return (string) this._borrowRemark;
            }
            set
            {
                this._borrowRemark = value;
            }
        }

        public bool BorrowRemarkIsNull
        {
            get
            {
                return (this._borrowRemark == null);
            }
            set
            {
                if (value)
                {
                    this._borrowRemark = null;
                }
            }
        }

        public string BUserId
        {
            get
            {
                return this._bUserId;
            }
            set
            {
                this._bUserId = value;
            }
        }

        public int DelFlag
        {
            get
            {
                return this._delFlag;
            }
            set
            {
                this._delFlag = value;
            }
        }

        public DateTime RealReturnDate
        {
            get
            {
                return (DateTime) this._realReturnDate;
            }
            set
            {
                this._realReturnDate = value;
            }
        }

        public bool RealReturnDateIsNull
        {
            get
            {
                return (this._realReturnDate == null);
            }
            set
            {
                if (value)
                {
                    this._realReturnDate = null;
                }
            }
        }

        public int RegFlag
        {
            get
            {
                return (int) this._regFlag;
            }
            set
            {
                this._regFlag = value;
            }
        }

        public bool RegFlagIsNull
        {
            get
            {
                return (this._regFlag == null);
            }
            set
            {
                if (value)
                {
                    this._regFlag = null;
                }
            }
        }

        public DateTime ReturnDate
        {
            get
            {
                return (DateTime) this._returnDate;
            }
            set
            {
                this._returnDate = value;
            }
        }

        public bool ReturnDateIsNull
        {
            get
            {
                return (this._returnDate == null);
            }
            set
            {
                if (value)
                {
                    this._returnDate = null;
                }
            }
        }

        public string RUserId
        {
            get
            {
                return (string) this._rUserId;
            }
            set
            {
                this._rUserId = value;
            }
        }

        public bool RUserIdIsNull
        {
            get
            {
                return (this._rUserId == null);
            }
            set
            {
                if (value)
                {
                    this._rUserId = null;
                }
            }
        }

        public int Status
        {
            get
            {
                return this._status;
            }
            set
            {
                this._status = value;
            }
        }

        public string WhoConfim
        {
            get
            {
                return (string) this._whoConfim;
            }
            set
            {
                this._whoConfim = value;
            }
        }

        public bool WhoConfimIsNull
        {
            get
            {
                return (this._whoConfim == null);
            }
            set
            {
                if (value)
                {
                    this._whoConfim = null;
                }
            }
        }
    }
}

